@echo off
set root=%~dp0
set gRPCbin=D:\Program Files\grpc\bin

set protoPath=I:/Dev/OpenSource2023/Web/grpc/examples/protos
set protoFile=helloworld.proto

set protoPath=E:\java-dev\bjServer\src\main\resources\static\proto
set protoFile=apiinterface.proto



"%gRPCbin%\protoc" --grpc_out %root% --cpp_out %root% -I %protoPath% --plugin=protoc-gen-grpc="%gRPCbin%\grpc_cpp_plugin.exe" %protoFile%

pause